﻿<UserControl x:Class="MishraReader.Views.Settings.NetworkTabItem"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mishraReader="clr-namespace:MishraReader;assembly=MishraReader.ViewModels"
             xmlns:platformVMs="clr-namespace:MishraReader.PlatformVMs" mc:Ignorable="d" 
             d:DataContext="{d:DesignInstance Type=platformVMs:SettingsViewModel, IsDesignTimeCreatable=False}"
             d:DesignHeight="600" d:DesignWidth="1000" Foreground="{DynamicResource MetroTextLight}">
    <StackPanel>
        <TextBlock Text="{x:Static mishraReader:Strings.DecideNetwork}" Style="{DynamicResource MetroHeader2}" Margin="0,0,0,0"/>
        <TextBlock TextWrapping="Wrap" Text="{x:Static mishraReader:Strings.DecideNetworkHelp}" />
        <TextBlock Text="{x:Static mishraReader:Strings.ItemsPerRequest}" Style="{DynamicResource MetroHeader3}"  Margin="0,30,0,0"/>
        <TextBlock TextWrapping="Wrap" Text="{x:Static mishraReader:Strings.ItemsPerRequestHelp}" Style="{DynamicResource MetroSubText}" />
        <StackPanel Orientation="Horizontal" Margin="0,15,0,0">
            <TextBlock Text="{x:Static mishraReader:Strings.Few}" Width="60" />
            <Slider Width="300" Margin="10,0"  Minimum="10" Maximum="500" Value="{Binding MaxItemsByRequest, Mode=TwoWay}" />
            <TextBlock Text="{x:Static mishraReader:Strings.ALot}" />
        </StackPanel>
        <TextBlock Text="{x:Static mishraReader:Strings.RefreshInterval}" Style="{DynamicResource MetroHeader3}"  Margin="0,30,0,0"/>
        <TextBlock TextWrapping="Wrap" Text="{x:Static mishraReader:Strings.RefreshIntervalHelp}" Style="{DynamicResource MetroSubText}" />
        <StackPanel Orientation="Horizontal" Margin="0,15,0,0">
            <TextBlock Text="{x:Static mishraReader:Strings.Rarely}" Width="60" />
            <Slider Width="300" Margin="10,0" Minimum="-3600" Maximum="-60" Value="{Binding RefreshInterval, Mode=TwoWay}"  />
            <TextBlock Text="{x:Static mishraReader:Strings.Often}" />
        </StackPanel>
    </StackPanel>
</UserControl>
